<?php
/**
 * Created by PhpStorm
 * User: whh
 * Date: 2022/7/28
 * Time: 16:02
 */

namespace app\common\model;


use think\Model;
use think\model\concern\SoftDelete;

/**
 * 审核事件表
 * Class AuditorEvent
 * @package app\common\model
 */
class AuditorEvent extends Model
{
    use Common;

    protected $table = 'quick_audit_event';
    //软删除
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;


    /*
    * 关联快应用
    */
    public function quickApp()
    {
        return $this->hasOne(QuickApp::class, 'id', 'quick_id')->field("id,name");
    }
}